Flash.dll v1.0

  Disclaimer
This script is provided by hIRC.org on a "AS IS" basis and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall hIRC.org or it's contributors be liable for any damages (Including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business intteruption) However caused and on tort (Including negligence or otherwise) Arising in any way out of the use of this script, even if advised of the possibility of such damage.

  How to use...
This DLL will make a @window or dialog flash.

Flash

This will get the name of the current theme of Windows..
Syntax: $dll(Flash.dll,Flash,[+acfrst] [HWND] [COUNT] [TIMEOUT])

Example:
//echo -a $dll(Flash.dll,Flash,+a $window($active).hwnd 50 200)
//echo -a $dll(Flash.dll,Flash,+a $dialog($dname).hwnd 50 200)


HWND - Handle to the window/dialog to be flashed
COUNT - Number of times to flash the window
TIMEOUT - Rate at which the window is to be flashed, in milliseconds. If TIMEOUT is zero, the function uses the default cursor blink rate.
FLAGS:
  +a - Flash both the window caption and taskbar button. This is equivalent to setting +ct
  +c - Flash the window caption.
  +f - Flash continuously until the window comes to the foreground.
  +r - Flash the taskbar button.
  +s - Stop flashing. The system restores the window to its original state.
  +t - Flash continuously, until the +s flag is set.

NOTE:
  • You can put more than 1 flags.
  • If a window is maximized, you won't be able to see it flash.

DllInfo

Shows info about the DLL.
Syntax: /dll Flash.dll DllInfo .

Example:
/dll Flash.dll DllInfo .

  What's New

Version 1.0
1. 1st public release.


  Credits
Big thank you's go out to:
  • Khaled Mardam-Bey for creating mIRC
  • Thanks to SoundreameR, for the idea to make this DLL.
  • All of the idlers in #CodeDb.org :)
  • If your name is not here, and you think it should be. Please email me. Thanks